Skip to main content

variant

Type​

property

Summary​

Apply a predefined style to the widget.

Syntax​

set the variant of widget to {"text"|"contained"|"raised"|"outlined"|"icon"}
get the variant of widget

Description​

Use the variant property to make the widget to look like one of the predefined styles.

Examples​

set the variant of widget "Button" to "contained"

Compatibility and Support​

OS

mac

windows

linux

ios

android

web

Platforms

desktop

mobile